import request from '@/utils/request'

export function getCommunityList(data){
    return request({
        url:'/communitylist',
        method:'get',
        params:data
    });
}

export function editCommunity(data){
    return request({
       url:'/editcommunity',
       method:'post',
       data:qs.stringify(data)
    });
}

export function getCommunityInfo(data){
    return request({
       url:'/communityinfo',
       method:'get',
       params:data
    });
}

export function delCommunity(data){
   return request({
      url:'/delcommunity',
      method:'get',
      params:data
   });
}

export function getAllCommunityList(data){
   return request({
     url:'/allcommunitylist',
     method:'get',
     params:data
   });
}
